home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
pc_board
/
tpmc_12.zip
/
TPMC.DOC
< prev
next >
Wrap
Text File
|
1992-08-14
|
6KB
|
137 lines
TPMC PCBoard file converter.
This program will take a standard BBS user info file and create
PCBoard.SYS PCBoard.DAT and Users files needed to run doors written
for PCBoard 14.X. It is released to the public domain. No registration
fee is requested. This will not work for version 12.X PCBoard doors.
These file types are currently supported.
File Type Parameter
DORINFO1.DEF -> DORINFO or DORINFO2
CHAIN.TXT -> CHAIN or CHAIN2 for Alias Name
DOOR.SYS -> DOOR
There are two options for DORINFO1.DEF and Chain.txt.
DORINFO Ansi setting - 0 = Ascii 1 = Ansi
DORINFO2 Ansi setting - 1 = Ascii 2 = IBM 3 = ANSI
CHAIN Reads users real name.
CHAIN2 Reads users alias name.
"File type paramater must be in CAPITOL LETTERS!!!"
Command Syntax: TPMC FILEFORMAT USERSFILE LOCKRATE
FILEFORMAT = The file type above, "DORINFO" etc...
USERSFILE = DRIVE:\PATH to USERS file. D:\BBS\USERS etc...
LOCKRATE = Locked baud rate of that node. 19200 etc...
If your board follows the callers connection rate do not put
in anything for LOCKRATE. Command lile Paramaters must be
in the exact order as above. Paramaters 1 and 2 are required
but 3 "LOCKRATE" is optional.
To use this utility place the TPMC.EXE file in your path where
you keep your other board utilitys. It is assumed the dropfile from
your board is in the current directory when you exit the board.
Edit your batch file to call the PCBoard type door similar to the
following examples. I will use D:\BBS for the node 1 directory.
@echo off
TPMC DORINFO D:\BBS\USERS 19200
CD\BBS\DOORS\DOOR1
DOOR DOOR.CFG D:\BBS
(BBS return commands where needed)
The above will place PCBoard.dat, PCBoard.sys and USERS in the
D:\BBS (current) directory. You change to the door directory and call
the door and point to the nodes directory (D:\BBS) for the user/hardware
information. The users file will be written according to the paramater
specified but the PCBoard.dat and PCBoard.sys are always written to
the current directory with the PCBoard.dat file pointing to the location
of the users file.
If you lock your modem baud rate high add the lock speed.
Valid rates are 1200,2400,9600,19200 and 38400.
"TPMC DORINFO D:\BBS\USERS" will follow the callers connection rate.
Do not specify a lock rate if your board follows the callers
connection rate.
The PCBoard file structure.
This utility should be fully multi-node compatable writing
separate files for each node. Here is a simple example of the
PCBoard file locations for better understanding.
D:\PCB This is usually the directory for node 1.
D:\PCB\GEN Screen files
D:\PCB\MAIN Logs and User info files
D:\PCB2 This is a 2nd node.
D:\PCB3 This would be a third node.
Each node when a door is called drops to dos in its node
directory and runs a batch file to call the door. There are
separate PCBoard.sys and PCBoard.dat files for each node but
only 1 Users file which is located in D:\PCB\MAIN. The location
of the users file is read from a line in PCBoard.dat.
You should specify your node directory when assigning the path
to the users file because this file is not permanent like a "real"
users file and will just be overwritten with the next callers info.
If two users enter the door at the same time on different nodes the
2nd user would overwrite the data from the 1st user still in the door
which may cause errors to both users on exit from the door.
Paramaters passed to the door either in the config file for the
door or the command line should point to the nodes directory for the
location of the user/hardware information. When the door is exited
you should change back to the node directory and restart your board.
TPMC stands for The Pool Machine Converter.
I started this as a way for other BBS Systems to be able to run
my football pool door. "The Pool Machine". This door can be
set up to run a real time pool or pick its own winners daily
or weekly. It tracks the users wins each week, the weekly winners,
and displays all users picks after the door is locked. In real
time mode it can be set to lock with the start of the 1st game.
Regular season maintenance can be done from remote by any user
you specify. Comes will all game data for each week of the 1992
NFL season. It even allows the users to wager imaginary money
on games. It is available on my board for download as TPM-XX.ZIP
where XX is the current version. I tested several of the converters
out and it soon became obvious to me that those who were writing
the converters were not running or writing doors for PCBoard.
Bug reports: Please send me a copy of your door info file that
the utility is reading and a description of the error.
I am planing on adding more types of input files as needed.
If you would like one added or find any bugs you can reach me at
The Midnite Rider (703) 591-5744. HST Dual Standard, 24 Hours.
If you perfer to save the long distance charges print off a copy
of your door drop file and send it to me along with a description
and options of the lines or any errors you are having with current
supported modes. I cant fix it if I cant see it.
Send it to: Joe Reeves P.O.Box 108 Fairfax,Va. 22030
Cheers...
Joe Reeves
PCBoard(tm) is a registered trademark of Clark Development Company Inc.